#ifndef CONSOLE_H_INCLUDE
#define CONSOLE_H_INCLUDED

#include <iostream>
#include <windows.h>
#include <wincon.h>
#include <string.h>

#include "../include/Constantes.h"
#include "econio.h"

using namespace std;

#ifdef __cplusplus
extern "C" {
    #endif

    //Structurel
    int setTailleConsole(COORD dwSize);
    void setTitreConsole(const char * titre);
    void drawRect(int hgx, int hgy, int sizex, int sizey);
    void drawInterface();

    //Contenu de l'interface
    void majInfos(unsigned nbTours, unsigned nbArbres, unsigned nbMoutons, unsigned nbPoissons, int qteRes, unsigned nbMales, unsigned nbFemelles, unsigned nbEnfants);
    void messFin(unsigned nbTours, unsigned nbArbres, unsigned nbMoutons, unsigned nbPoissons, int qteRes, unsigned nbMales, unsigned nbFemelles, unsigned nbEnfants);

    #ifdef __cplusplus
}
#endif


#endif // CONSOLE_H_INCLUDED
